package xyz.zhangyi.onjava.java8.example.lambda.combinator;

import java.math.BigDecimal;
import java.util.List;

public class Order {
    private String orderId;
    private String customerId;
    private String description;
    private BigDecimal totalPrice;
    private BigDecimal discount;
    private BigDecimal shippingFee;

    private List<OrderItem> orderItems;

    public String getOrderId() {
        return orderId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public String getDescription() {
        return description;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public BigDecimal getShippingFee() {
        return shippingFee;
    }

    public List<OrderItem> getOrderItems() {
        return orderItems;
    }

    public Order copyFromTotalPrice(BigDecimal totalPrice) {
        return new Order();
    }

    public Order copyFromDiscount(BigDecimal discount) {
        return new Order();
    }

    public Order copyFromShippingFee(BigDecimal shippingFee) {
        return new Order();
    }
}
